package entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * LC: 2023-02-20 20:30
 */
@Data
public class TopicLabelEntiry {
    /**
     * 话题主键id
     */
    private Integer topicId;
    /**
     * 话题图片
     */
    private String topicFileId;
    /**
     * 话题用户id
     */
    private Integer topicUserId;
    /**
     * 话题内容
     */
    private String topicName;
    /**
     * 浏览量
     */
    private Integer topicViews;
    /**
     * 创建时间
     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 逻辑删除（0=>显示 1=>隐藏
     */
    private Integer delFlag;

    private String userName;

    private String userFileId;

    private Integer userId;

    public List<String> url;
}
